import Vue from "vue";
import App from "./App.vue";
//引入路由
import router from "./utils/routerGurad"
// import router from "./router"
//引入状态管理工具
import store from "./store";
//引入element-UI
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
//引入自定义样式
import "@/assets/styles/common.less"
//引入我们的组件
import qfSubMenu from "qf-sub-menu"
//引入字体图标
import "@/assets/iconfont/iconfont.css"
import "@/assets/iconfont/iconfont.js"
import "@/assets/styles/iconfont.css"
Vue.config.productionTip = false;
//使用Element-UI
Vue.use(ElementUI);
//使用Vue.use()将组件注入到所有的子组件
Vue.use(qfSubMenu)
console.log(router);
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
